#include"MusicServer.h"
#include"ParseRequst.h"
using namespace std;


class ProcessServer{
public:
    ProcessServer(int fd,EpollReactor*reactor);
    ~ProcessServer();
    static int ProcessWrite(void*server);
    static int ProcessRead(void*server);
    static int ProcessDestroy(void*server);
    ParseRequest* parser;   //处理请求和回发请求
    EpollReactor*m_reactor; 
    FdInfo m_info;
};